package com.zzyl.service;

import com.zzyl.base.PageBean;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.dto.NursingPlanPageQueryDto;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

public interface NursingPlanService {

    /**
     * 获取所有护理计划
     * @return
     */
    List<NursingPlanVo> list();

    /**
     * 新增护理计划
     * @param nursingPlanDto
     */
    void addNursingPlan(NursingPlanDto nursingPlanDto);

    /**
     * 条件分页查询护理计划
     * @param dto
     * @return
     */
    PageBean<NursingPlanVo> searchNursingPlan(NursingPlanPageQueryDto dto);

    /**
     * 根据id查询护理计划
     * @param id
     * @return
     */
    NursingPlanVo getNursingPlanById(Long id);

    /**
     * 修改护理计划
     * @param nursingPlanDto
     */
    void updateNursingPlan(NursingPlanDto nursingPlanDto);

    /**
     * 删除护理计划
     * @param id
     */
    void deleteNursingPlan(Long id);

    /**
     * 编辑状态
     * @param id
     * @param status
     */
    void enableOrDisableNursingPlan(Long id, Integer status);
}

